﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LibAnalyser;

namespace cli
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Live Analiser Started... ");
            //AsynchronousClient client = new AsynchronousClient();
            Business.InitProperties("c:\\");
            Business.UseFileStreamAsInput("C:\\Users\\vsokolov\\usr\\sailboat\\trunk\\COM1-IN nood day 3 race 1.LOG");
            Business.OpenComPort();
            System.Threading.Thread.Sleep(5000);
            double t = Business.Database.AWA[Tools.ToPOSIX(DateTime.Now)];

            AsynchronousSocketListener.StartListening();

        }
    }
}
